package com.toolsder.demo.spring.security.jwt.entity.database;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * created by 猴子请来的逗比 On 2020/7/20
 * <p>
 * 管加工2分厂资源
 *
 * @author by 猴子请来的逗比
 */
@Entity
@Data
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(of = {"id"})
public class Resources implements Serializable {

    private static final long serialVersionUID = 8906711617982027115L;
    @Id
    private Long id;

    /**
     * 资源url
     */
    private String resourcesUrl;

    /**
     * 资源名称
     */
    private String resourcesName;


}
